const express = require('express')
const bodyParser = require('body-parser') // 中间件：解析post数据

let server = express()
server.listen(8080)

// 链式操作：新参数 next
server.use('/', (req, res, next) => {
  console.log('链式操作一')
  next()
})

server.use('/', (req, res, next) => {
  console.log('链式操作二')
})
